//
//  BBScrollViewModel.h
//  BBKit
//
//  Created by apple on 2019/7/1.
//  Copyright © 2019年 baobao. All rights reserved.
//

#import "BBBaseViewModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BBScrollViewModel : BBBaseViewModel


@property(nonatomic,strong,readonly) BBScrollViewModel *(^ delegate)(id<UIScrollViewDelegate> delegate);

@property(nonatomic,strong,readonly) BBScrollViewModel *(^ contentSize)(CGSize contentSize);
@property(nonatomic,strong,readonly) BBScrollViewModel *(^ contentOffset)(CGPoint contentOffset);
@property(nonatomic,strong,readonly) BBScrollViewModel *(^ contentInset)(UIEdgeInsets contentInset);

@property(nonatomic,strong,readonly) BBScrollViewModel *(^ bounces)(BOOL bounces);
@property(nonatomic,strong,readonly) BBScrollViewModel *(^ alwaysBounceVertical)(BOOL alwaysBounceVertical);
@property(nonatomic,strong,readonly) BBScrollViewModel *(^ alwaysBounceHorizontal)(BOOL alwaysBounceHorizontal);

@property(nonatomic,strong,readonly) BBScrollViewModel *(^ pagingEnabled)(BOOL pagingEnabled);
@property(nonatomic,strong,readonly) BBScrollViewModel *(^ scrollEnabled)(BOOL scrollEnabled);

@property(nonatomic,strong,readonly) BBScrollViewModel *(^ showsHorizontalScrollIndicator)(BOOL showsHorizontalScrollIndicator);
@property(nonatomic,strong,readonly) BBScrollViewModel *(^ showsVerticalScrollIndicator)(BOOL showsVerticalScrollIndicator);

@property(nonatomic,strong,readonly) BBScrollViewModel *(^ scrollsToTop)(BOOL scrollsToTop);

@end

NS_ASSUME_NONNULL_END
